#pragma once
#include <cstdint>
#include "EventEngine.h"
#include "XnccType.h"
using namespace xncc::user;
using namespace xncc::types;
class ReceiverEngine : public EventEngine
{
  public:
    ReceiverEngine(int id);
    ~ReceiverEngine() override = default;
    void init() override;
    void handleTestMsg(const char* msg, uint32_t len, thread_id_t tid, connection_id_t connId);

  private:
    const int engineId_;
};